export interface ArrayObj {
  props: string
}

export interface WebchatList {
  submenu: string
  newChat?: boolean
  list: ArrayObj[]
}

export interface WebchatListStatusObj {
  data: any
  isVisitorBreak: boolean
}

export interface WebchatReplyMsgObj {
  sendStatus: string
  _id: string
  createTimestamp: number
  sessionId: string
  timeStamp: number
  content: string
  contentType: string
  lastMessageTimestamp: number
  visitorStartWaitTimestamp: number
}

export interface CardInfoObj {
  content: string
  contentType: string
  sessionId: string
  timeStamp: number
  lastMessageTimestamp: number
  visitorStartWaitTimestamp: number
}

export interface WebchatCardInfoObj {
  obj: CardInfoObj
  from: string
}

export interface WebchatChatInfoObj {
  _id: string
  showHistoryBtn: boolean
}

export interface WebchatMessageListObj {
  webchatType: string
  sessionId: string
  isNewSession: boolean
  list: ArrayObj[]
}

export interface FileUploadProessObj {
  sessionId: string
  timeStamp: number
  percent: number
}

export interface SendLastContentObj {
  _id: string
  content: string
}

export interface WebchatDetails {
  _id: string
}

export interface CustomerInfoObj {
  type?: string
  webchatDetails: WebchatDetails
  custName: string
}
